

package com.maoshi.shop.security.comment.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.maoshi.shop.bean.model.User;
import com.maoshi.shop.security.comment.enums.App;
import com.maoshi.shop.security.comment.model.AppConnect;

import java.util.List;

/**
 *
 * @author lgh on 2018/09/07.
 */
public interface AppConnectService extends IService<AppConnect> {

	AppConnect getByBizUserId(String bizUserId, Integer appId);

	User registerOrBindUser(User user, AppConnect appConnect, Integer appId);

	//合并代码开始
	AppConnect getByUnionId(String bizUnionId);

	List<AppConnect> getAllAppConnect();

	void insert(AppConnect appConnect);

	AppConnect getByOpenId(String bizUserId);
	//合并代码结束
}
